
<%@page import="java.util.List"%>
<%@page import="com.zenika.supbook.service.UserService"%>
<%@page import="com.zenika.supbook.model.User"%>
<%
	String query = request.getParameter("search");
	List<User> users = new UserService().searchUser(query);
	request.setAttribute("users", users);
	request.getRequestDispatcher("/public/formSearch.jsp").forward(request, response);
%>